<template>
  <swiper>
    <swiper-item v-for="(item, index) in topImages" :key="index" class="img-item">
      <img :src="item" alt="">
    </swiper-item>
  </swiper>
</template>

<script>
import { Swiper, SwiperItem } from 'components/common/swiper'
export default {
  name: 'DetailItem',
  components: {
    Swiper,
    SwiperItem
  },
  props: {
    topImages: {
      typr: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style scoped>
  .img-item{
    height: 300px;
  }
</style>
